﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HuiLian.Common.HdlHttpModel
{
    /// <summary>
    /// 通用传感器信息查询接口
    /// </summary>
    public class HdlScadaSensorInfoRequest
    {
        /// <summary>
        /// 传感器编码
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
        public List<string> codes { get; set; }

        /// <summary>
        /// 组织编码
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
        public string dept { get; set; }

        /// <summary>
        /// 数据类型
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
        public List<string> dtypes { get; set; }

        /// <summary>
        /// 厂站数据类型来源(默认是model)
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
        public string factory_stype_from { get; set; }

        /// <summary>
        /// 站点编码
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
        public string station { get; set; }

        /// <summary>
        /// 站点类型
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
        public List<string> station_types { get; set; }

        /// <summary>
        /// 传感器类型
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
        public List<string> stypes { get; set; }

        /// <summary>
        /// pipe：管网 factory：厂站
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
        public string target { get; set; }
    }
}
